<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <%
        String path = request.getContextPath();
        String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort();
    %>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>修改密码</title>
    <%--<link rel="stylesheet" href="<%=basePath%>/css/bootstrap.min.css" />--%>
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <link rel="stylesheet" href="<%=basePath%>/css/header.css"/>
</head>
<body>
<script type="text/javascript" src="js/jquery-2.0.3.min.js"></script>
<%--	<script type="text/javascript" src="js/bootstrap.min.js"></script>--%>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
        integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
        crossorigin="anonymous"></script>

<div>
    <p style="font-size: 30px; margin-top: 20px; margin-left: 30px">修改密码</p>
</div>
<hr
        style="height: 10px; border: none; border-top: 10px groove skyblue;"/>
<div style="margin-top: 100px; margin-left: 400px">
    <form action="<%=basePath%>/client/ClientServlet?op=userPassword"
          method="post">
        <div class="form-group">
            <label for="password">新密码</label> <input
                class="form-control" type="password" id="password" name="password"
                style="width: 700px">
        </div>
        <div class="form-group">
            <label for="repassword">确认密码</label> <input
                class="form-control" type="password" id="repassword"
                name="repassword" style="width: 700px">
        </div>
        <div class="form-group">
            <input
                    class="form-control" type="hidden" id="username" name="username"
                    value="${sessionScope.user.username}"
                    readonly
                    style="width: 700px">
        </div>
        <br>
        <button type="submit" class="btn btn-primary"
                onclick="window.location='client/ClientServlet?op=userPassword'">提交
        </button>
        <button type="button" class="btn btn-default" data-dismiss="modal"
                style="margin-left: 100px"
                onclick="window.location='userIndex.jsp'">关闭
        </button>
    </form>
</div>
</body>
</html>